package com.ccp.dev.workflow.model;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * ClassDescribe:
 * 对象功能:按钮List的XMl配置
 * @author :wangcheng
 * Date: 2019-06-17
 */

@XmlRootElement(name = "bpm")
@XmlAccessorType(XmlAccessType.FIELD)
public class BpmNodeButtonXml {

    @XmlElementWrapper(name = "buttons")
    @XmlElements({ @XmlElement(name = "button", type = BpmButton.class) })
    private List<BpmButton> buttons;

    public List<BpmButton> getButtons() {
        return buttons;
    }

    public void setButtons(List<BpmButton> buttons) {
        this.buttons = buttons;
    }


}
